﻿//
// GNS_TopAndTick.h
// MobileManageSys
//FuncTion  充值兑奖
// Created by mr.l on 16/1/15.
//
//

#ifndef __MobileManageSys__GNS_TopAndTick__
#define __MobileManageSys__GNS_TopAndTick__

#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "GNS_TopAndTickDivider.h"
#include "GNS_CursorTextField.h"
#include "GNS_Handler.h"
#include <iostream>
USING_NS_CC;
using namespace cocostudio::timeline;
using namespace ui;
using namespace std;
US_NS_CUSTOM_UI;

class GNS_TopAndTick : public Layer
{
public:
    GNS_TopAndTick();
    ~GNS_TopAndTick();
    static GNS_TopAndTick* createLayer(); 
    virtual bool init();
    CREATE_FUNC(GNS_TopAndTick);
    void BtnCallBack(Ref *pSender , ui::Widget::TouchEventType type);
    void SelectedItemEvents(Ref*pSender,ui::ListView::EventType type);
    void ListViewBtn(Ref * pSender ,ui::Widget::TouchEventType type);
    void SetNodeName(std::string CsbName);
    void ShowTopTickListDate();
    GNS_TopAndTickDivider * pTopAndTickDivider;
private:
    Node * pGNS_TopAndTick;
    ListView * pListView;
//    TextField * InPutText;
    PopWndLayer * pPopWnd;
   // GNS_CursorTextField * pSearch;
	TextField * inputSearchText;

	CustomEditBox * _inputSearchText;
};

#endif /* defined(__MobileManageSys__GNS_TopAndTick__) */